package bungaeting.net.client.android.request;

abstract public class RequestObserver {
	public enum THREAD_TYPE{
		BACKGROUND_THREAD, UI_THREAD
	}
	
	
	
	public RequestObserver(THREAD_TYPE processThreadType) {
		super();
		this.processThreadType = processThreadType;
	}

	public THREAD_TYPE getProcessThreadType() {
		return processThreadType;
	}

	public void setProcessThreadType(THREAD_TYPE processThreadType) {
		this.processThreadType = processThreadType;
	}

	private THREAD_TYPE processThreadType;
	
	abstract public void update(String requestId, String returnCode, String returnMsg, Object params);
}
